package com.lxg.gitflow.controller;

import com.lxg.gitflow.service.IScoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/score")
public class ScoreController {

	@Autowired
	private IScoreService scoreService;

	@RequestMapping("/incr")
	public void incr(Long id){
		System.out.println("修复bug");
		scoreService.incr(id);
	}
}
